<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />

	<title>Handy Web Applicatioin</title>
	<meta name="description" content="Handy Web Application" />

	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Content.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Core.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Layout.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Dock.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Window.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/themes/default/css/Tabs.css" />

	<!--[if IE]>
		<script type="text/javascript" src="${request.contextPath}/resources/scripts/excanvas.js"></script>
	<![endif]-->
	
	<script type="text/javascript" src="${request.contextPath}/resources/scripts/mootools-1.2.2-core.js"></script>
	<script type="text/javascript" src="${request.contextPath}/resources/scripts/mootools-1.2.2.2-more.js"></script>
	
	<script type="text/javascript" src="${request.contextPath}/resources/scripts/mocha.js"></script>
	<script type="text/javascript" src="${request.contextPath}/desktop_js.action"></script>

</head>
<style>
		#desktopTitlebar h2.tagline {
			padding: 7px 0 0 0;	
			font-family: Verdana, Arial, Helvetica, sans-serif;
			font-size: 20px;    
			color: #d4dce4;    
			font-weight: bold;
			text-align: left;
			text-transform: uppercase;
		}
		
		#topNav {
			font-size: 12px;
		}
</style>
<body>

<div id="desktop">

	<div id="desktopHeader">
		<div id="desktopTitlebarWrapper">
			<div id="desktopTitlebar">
				<h1 class="applicationTitle">A Web Application</h1>
				<h2 class="tagline">A Web Application</h2>
				<div id="topNav">
					<ul class="menu-right">
						<li><a href="#" onclick="MochaUI.notification('Do Something');return false;"><#if (Session?exists && Session.user?exists)>${Session.user.username}</#if></a> 您好，欢迎使用本平台！</li>
						<li><a id="logout" href="#">退出</a></li>
					</ul>
				</div>
			</div>
		</div>
	
		<div id="desktopNavbar">	
	<ul>
		<li><a class="returnFalse" href="">Examples</a>	
			<ul>
				<li><a id="ajaxpageLinkCheck" href="pages/lipsum.html">Ajax/XHR Demo</a></li>
				<li><a id="jsonLink" href="data/json-windows-data.js">Json Demo</a></li>
				<li><a id="youtubeLinkCheck" href="pages/youtube.html">Iframe: YouTube</a></li>
				<li><a id="slideshareLinkCheck" href="pages/slideshare.html">Iframe: Slideshare</a></li>
				<li><a id="accordiantestLinkCheck" href="pages/accordian-demo.html">Accordian</a></li>
				<li><a id="clockLinkCheck" href="plugins/coolclock/">Widget: Clock</a></li>
				<li><a id="parametricsLinkCheck" href="plugins/parametrics/">Window Parametrics</a></li>
				<li class="divider"><a class="returnFalse arrow-right" href="">Tests</a>
					<ul>								
						<li><a id="windoweventsLinkCheck" href="pages/events.html">Window Events</a></li>
						<li><a id="containertestLinkCheck" href="pages/lipsum.html">Container Test</a></li>
						<li><a id="iframetestLinkCheck" href="pages/iframetest.html">Iframe Test</a></li>
						<li><a id="noCanvasLinkCheck" href="pages/lipsum.html">No Canvas Body</a></li>
					</ul>
				</li>
				<li class="divider"><a class="returnFalse arrow-right" href="">Starters</a>
					<ul>
						<li><a target="_blank" href="index.html">Web Application</a></li>
						<li><a target="_blank" href="demo-fixed-width.html">Fixed Width</a></li>
						<li><a target="_blank" href="demo-no-toolbars.html">No Toolbars</a></li>
						<li><a target="_blank" href="demo-no-desktop.html">No Desktop</a></li>
						<li><a target="_blank" href="demo-modal-only.html">Modal Only</a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li><a class="returnFalse" href="">View</a>
			<ul>		
				<li><a id="cascadeLink" href="">Cascade Windows</a></li>
				<li><a id="tileLink" href="">Tile Windows</a></li>
				<li><a id="minimizeLink" href="">Minimize All Windows</a></li>
				<li><a id="closeLink" href="">Close All Windows</a></li>
			</ul>
		</li>
		<li><a class="returnFalse" href="">Tools</a>
			<ul>
				<li><a id="builderLinkCheck" href="plugins/windowform/">Window Builder</a></li>
			</ul>
		</li>
		<li>
			<a class="returnFalse" href="">Workspace</a>
			<ul>
				<li><a id="saveWorkspaceLink" href="">Save Workspace</a></li>
				<li><a id="loadWorkspaceLink" href="">Load Workspace</a></li>
			</ul>
		</li>
		<li><a class="returnFalse" href="">系统</a>
			<ul>
				<li><a id="department" href="#">部 门</a></li>
				<li><a id="employee" href="#">用 户</a></li>
				<li><a id="roleLink" href="#">角 色</a></li>
			</ul>
		</li>
		<li><a class="returnFalse" href="">帮助</a>
			<ul>
				<li><a id="featuresLinkCheck" href="pages/features.html">功能列表</a></li>
				<li class="divider"><a target="_blank" href="http://mochaui.com/docs/">帮助文档</a></li>
				<li><a id="aboutLink" href="#">关于...</a></li>
			</ul>
		</li>
	</ul>
				
			<div class="toolbox divider">
				<div id="spinnerWrapper"><div id="spinner"></div></div>		
			</div>

			<div class="toolbox divider">	
				<select id="themeControl" name="themeControl" size="1" onchange="MochaUI.Themes.init(this.options[this.selectedIndex].value)">
					<option id="chooseTheme" value="" selected>Choose Theme:</option>
					<option value="default">Default</option>
					<option value="Charcoal">Charcoal</option>
				</select>	
			</div>		

		</div><!-- desktopNavbar end -->
	</div><!-- desktopHeader end -->

	<div id="dockWrapper">
		<div id="dock">
			<div id="dockPlacement"></div>
			<div id="dockAutoHide"></div>
			<div id="dockSort"><div id="dockClear" class="clear"></div></div>
		</div>
	</div>

	<div id="pageWrapper"></div>

	<div id="desktopFooterWrapper">
		<div id="desktopFooter">			
			&copy; 2009-2010 <a target="_blank" href="#">Handy Web Application</a></a>
		</div>
	</div>

</div><!-- desktop end -->

</body>
</html>